Решение того уравнения было заковыристой проблемой.
Definitions
A 'gnarly problem' refers to a difficult, complex, or challenging issue that is hard to solve or deal with. The term 'gnarly' is slang, often used to describe something tough, tricky, or extreme.